package com.business.activiti.model.auto;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 任务节点 TaskNode 
 * @author lujingyuan_自动生成
 * @email 674326842@qq.com
 * @date 2020-11-18 13:47:32
 */
public class TaskNode implements Serializable {

	private static final long serialVersionUID = 1L;
	
		
	/**  **/
	private String id;
		
	/** 所属业务 **/
	private String appealId;
		
	/** 任务表单实例 **/
	private String formInstanceId;
		
	/** 任务处理人 **/
	private String userId;
		
	/** 任务创建时间 **/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date createTime;
		
	/** 任务签收时间 **/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date claimTime;
		
	/** 任务结束时间 **/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date endTime;
		
	/** 审批结果 **/
	private String taskResult;
		
	/** 流程实例id **/
	private String processInstanceId;
		
	/** 任务id **/
	private String taskId;
		
		
	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
	 
			
	public String getAppealId() {
        return appealId;
    }

    public void setAppealId(String appealId) {
        this.appealId = appealId;
    }
	 
			
	public String getFormInstanceId() {
        return formInstanceId;
    }

    public void setFormInstanceId(String formInstanceId) {
        this.formInstanceId = formInstanceId;
    }
	 
			
	public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
	 
			
	public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
	 
			
	public Date getClaimTime() {
        return claimTime;
    }

    public void setClaimTime(Date claimTime) {
        this.claimTime = claimTime;
    }
	 
			
	public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
	 
			
	public String getTaskResult() {
        return taskResult;
    }

    public void setTaskResult(String taskResult) {
        this.taskResult = taskResult;
    }
	 
			
	public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }
	 
			
	public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }
	 
			
	public TaskNode() {
        super();
    }
    
																																																				
	public TaskNode(String id,String appealId,String formInstanceId,String userId,Date createTime,Date claimTime,Date endTime,String taskResult,String processInstanceId,String taskId) {
	
		this.id = id;
		this.appealId = appealId;
		this.formInstanceId = formInstanceId;
		this.userId = userId;
		this.createTime = createTime;
		this.claimTime = claimTime;
		this.endTime = endTime;
		this.taskResult = taskResult;
		this.processInstanceId = processInstanceId;
		this.taskId = taskId;
		
	}
	
}